////////////////////////////////////////////////////////////////////////////////
//
//  http://www.17nce.com
//  Copyright 2011-2012 
//  All Rights Reserved.
//
//  gtshao@sina.cn  2010-12-29
//
////////////////////////////////////////////////////////////////////////////////
package com.nce.view{
	import com.nce.view.components.LsnBar;

	/**
	 * 
	 */
	public class LsnBarMediator extends Mediator{
		public static const NAME:String = "LsnBarMediator";
		public function LsnBarMediator(){
			super(NAME,viewComponent);
		}
		
		override public function onRegister():void
		{			
			lsnBar.addEventListener(LsnBar.CHANGE_LESSON,onChangeLesson);
			lsnBar.addEventListener(LsnBar.CHANGE_TERM,onChangeTerm);
			
		}
		
		private function get lsnBar():Bkw
		{
			return viewComponent as Bkw;
		}	
	}
}